package com.bjtu.transactionclient.domain;

public class SendSqlData {
    private String userNo;
    private String sql;
    private String keyInfo;
    private String indexNo;
    private String operation;
    private String tableName;
    private String time;

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public SendSqlData(String userNo, String sql, String keyInfo, String indexNo, String operation, String tableName, String content) {
        this.userNo = userNo;
        this.sql = sql;
        this.keyInfo = keyInfo;
        this.indexNo = indexNo;
        this.operation = operation;
        this.tableName = tableName;
        this.content = content;
    }

    private String content;

    public SendSqlData(String userNo, String sql, String keyInfo, String indexNo, String operation, String tableName) {
        this.userNo = userNo;
        this.sql = sql;
        this.keyInfo = keyInfo;
        this.indexNo = indexNo;
        this.operation = operation;
        this.tableName = tableName;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public SendSqlData() {
    }

    public String getSql() {
        return sql;
    }

    public String getKeyInfo() {
        return keyInfo;
    }

    public String getIndexNo() {
        return indexNo;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public void setKeyInfo(String keyInfo) {
        this.keyInfo = keyInfo;
    }

    public void setIndexNo(String indexNo) {
        this.indexNo = indexNo;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    @Override
    public String toString() {
        return "SendSqlData{" +
                "userNo='" + userNo + '\'' +
                ", sql='" + sql + '\'' +
                ", keyInfo='" + keyInfo + '\'' +
                ", indexNo='" + indexNo + '\'' +
                ", operation='" + operation + '\'' +
                ", tableName='" + tableName + '\'' +
                '}';
    }
}
